package com.ddone.demo;

import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;

/**
 * @author ddone
 * @date 2024/5/27-00:42
 */
public class ConfigDemo2 {
    public static void main(String[] args) {
        // 加载配置文件
        Config config = ConfigFactory.load("spark-sql.conf");
        System.out.println(config.getConfig("spark-app"));
    }
}
